﻿<%@ Page Language="C#" MasterPageFile="~/Publish/Content.master" AutoEventWireup="true"
    CodeFile="Collection.aspx.cs" Inherits="Publish_Collection" Theme="Green" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphYouAreHere" runat="Server">
    Collection
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphFunction" runat="Server">
    collection
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphPageTitle" runat="Server">
    Bộ sưu tập thời trang
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="cphContent" runat="Server">
    <asp:DataList ID="lstCollection" runat="server" CssClass="alignleft" CellSpacing="0" CellPadding="0"
        RepeatColumns="2" RepeatDirection="Horizontal" ShowFooter="False" ShowHeader="False" EnableViewState="false">
        <ItemTemplate>
            <%# BindCollection(DataBinder.Eval(Container.DataItem, "IDCollection").ToString(), DataBinder.Eval(Container.DataItem, "Title").ToString(), DataBinder.Eval(Container.DataItem, "ShortText").ToString(), DataBinder.Eval(Container.DataItem, "Image").ToString(), DataBinder.Eval(Container.DataItem, "CreatedDate"))%>
        </ItemTemplate>
        <ItemStyle CssClass="newsline" />
        <AlternatingItemStyle CssClass="news" />
    </asp:DataList>
    <asp:Repeater ID="rptCollection" runat="server" EnableViewState="false">
        <HeaderTemplate>
            <h3 class="other">Các tin khác</h3>
            <ul id="sublist">
        </HeaderTemplate>
        <ItemTemplate>
            <li>
                <%# BindCollection(Eval("IDCollection").ToString(), Eval("Title").ToString(), Eval("CreatedDate"))%></li></ItemTemplate>
        <FooterTemplate>
            </ul></FooterTemplate>
    </asp:Repeater>
</asp:Content>
